﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.Repository.Translator
{
  
    public class CourseDetailTranslator
    {
        public static CourseDetail ToCourseDetailsEF(CMS.Model.CourseDetails cd)
        {
            CourseDetail coursedetails = new CourseDetail();
            coursedetails.CourseDetailId = cd.CourseDetailId;
            coursedetails.CourseId = cd.CourseId;
            coursedetails.StudentId = cd.StudentId;
            return coursedetails;

        }
    }
}
